package com.jinxin.platform.cdperprotypay.pojo.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;

@Data
public class ChargeRoomDetail implements Serializable {
    private static final long serialVersionUID = -76167305236801656L;
    /**
     * 主键id
     */
    private String id;
    /**
     * 房间号id
     */
    private String roomId;
    /**
     * 收费项目id
     */
    private String itemsId;
    /**
     * 指定收费金额
     */
    private String moneys;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 收费标准id
     */
    private String standardId;
    /**
     * 收费开始时间
     */
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private Date chargeStime;
    /**
     * 收费结束时间
     */
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private Date chargeEtime;
    /**
     * 备注
     */
    private String remark;

    private Integer isYn;

}